package com.ld.wms.business.user.vo.req;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author wangfeng
 * @since 2024-04-12
 */
@Data
public class UserAccountReqVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "账户名")
    private String accountName;

    @Schema(description = "头像")
    private String headImage;

    @Schema(description = "真实姓名")
    private String realName;

    @Schema(description = "原密码")
    private String oldPassword;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "确认密码")
    private String confirmPassword;

    @Schema(description = "0:女，1:男")
    private Integer sex;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "电子邮箱")
    private String email;

    @Schema(description = "状态：0正常，1禁用")
    private Integer status;

    @Schema(description = "生日")
    private Date birthday;

    @Schema(description = "角色信息")
    private List<Long> roleIdList;
}
